package cn.kgc.service;

import cn.kgc.pojo.Hstaff;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HstaffService {





    //分页查询
    PageInfo<Hstaff> queryForKeywordSearchHstaff(Integer pageNum, Integer pageSize, String keyword);

    //详细信息
    public Hstaff  selectByIdHstaffXiang(Integer id);

    // 添加 ok
    void insertHousestaff(Hstaff hstaff);


    //根据id查询 回显
    public Hstaff  selectByIdHstaffToUpdatge(Integer id);
    //  修改 ok
    void updateHousestaff(Hstaff hstaff);

    //  单条删除ok
    int deleteStaff(int id);


    //批量删除 ok
    public int getUserListByIdList(List<Integer> hstaffIdList);






}
